package com.sora.registry;

import java.net.InetSocketAddress;

/**
 * @Classname: ServiceDiscovery
 * @Description: 服务发现接口
 * @Author: Stonffe
 * @Date: 2023/5/17 16:56
 */
public interface ServiceDiscovery {
    /**
     * 根据服务名称查找服务实体
     * @param serviceName
     * @return
     */
    InetSocketAddress lookupService(String serviceName);
}
